package cn.wolfcode.wechat.service;

import cn.wolfcode.wechat.domain.Client;
import cn.wolfcode.wechat.query.ClientQueryObject;
import com.github.pagehelper.PageInfo;

public interface IClientService {

    void save(Client client);

    void update(Client client);

    Client get(Long id);

    Client selectByOpenid(String openid);

    /**
     * 处理用户的取消关注
     * @param client
     */
    void unsubscribe(Client client);

    PageInfo query(ClientQueryObject qo);
}
